package com.ruoyi.develop.factory.factoryTestZnDetail.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 出厂试验-镀锌质量-每次明细对象 factory_test_zn_detail
 *
 * @author lmm
 * @date 2025-06-07
 */
public class FactoryTestZnDetail extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;

    /**
     * 检测id
     */
    @Excel(name = "检测id")
    private String testId;

    /**
     * 检验时间
     */
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @Excel(name = "检验时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date inspectTime;

    /**
     * 锌层厚度
     */
    @Excel(name = "锌层厚度")
    private BigDecimal znThick;

    /**
     * 质检报告
     */
    @Excel(name = "质检报告")
    private String reportFile;

    /**
     * 质检照片
     */
    @Excel(name = "质检照片")
    private String pictureFile;

    /**
     * 删除标志
     */
    private String delFlag;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setTestId(String testId) {
        this.testId = testId;
    }

    public String getTestId() {
        return testId;
    }

    public void setInspectTime(Date inspectTime) {
        this.inspectTime = inspectTime;
    }

    public Date getInspectTime() {
        return inspectTime;
    }

    public BigDecimal getZnThick() {
        return znThick;
    }

    public void setZnThick(BigDecimal znThick) {
        this.znThick = znThick;
    }

    public void setReportFile(String reportFile) {
        this.reportFile = reportFile;
    }

    public String getReportFile() {
        return reportFile;
    }

    public void setPictureFile(String pictureFile) {
        this.pictureFile = pictureFile;
    }

    public String getPictureFile() {
        return pictureFile;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("testId", getTestId())
                .append("inspectTime", getInspectTime())
                .append("znThick", getZnThick())
                .append("reportFile", getReportFile())
                .append("pictureFile", getPictureFile())
                .append("remark", getRemark())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
